package com.mvc4g.example.mockup.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.mvc4g.example.mockup.client.bean.AboutBean;
import com.mvc4g.example.mockup.client.bean.EmailBean;
import com.mvc4g.example.mockup.client.bean.LoginBean;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface MockUpServiceAsync {
	public void login(LoginBean login, AsyncCallback<Void> callback);
	public void getEmails(String login, AsyncCallback<List<EmailBean>> callback);
	public void getContent(int id, AsyncCallback<String> callback);
	public void getAbout(AsyncCallback<AboutBean> callback);
}
